package cate.common.table.pvp.crossboss;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

import java.util.HashSet;
import java.util.Set;

@NoteClass("门票")
public class CrossBossTicketSheet extends ESheet<CrossBossTicketRow> {

    @Override
    public String getSheetName() {
        return "门票";
    }

    private Set<Integer> itemTids = new HashSet<>();

    @Override
    protected void onLoaded() {
        itemTids.clear();
        for (CrossBossTicketRow row : getList()) {
            itemTids.add(row.itemId);
        }
    }

    public Set<Integer> getItemTids() {
        return itemTids;
    }
}
